Kotlin complier error: expecting member declaration : I'm new to android studio and java. Trying to write a log in, can someone help me understand what's going on with the code? Thank you very much 


[enter image description here][1]


[enter image description here][2]


  [1]: https://i.stack.imgur.com/ZP9Lm.png
  [2]: https://i.stack.imgur.com/xG46i.png