Update to onLoginClick

Updated on Login Click to add most of the code needed to make the button fully functional. and send a login request to the server.  Still need to de-serialize the reply to get the session id, and add error handling in case of a bad login attempt.