added the login option as separate from the register option; implemented register option
added semicolon
Added the return type User to the User constructor (I wrote this in the hospital, there are a lot of silly mistakes like this)
ahhh more mistakes. I removed the User return type and added String before the parameters or the constructors
added String before the param new_password for setPassword function
added getLoggedOn and setLoggedOnTrue and setLoggedOnFalse
changed boolean loggedOn to a private variable