Client changes for sign in and sign up.
Implemented user login.
Moved the authentication code into its own module.
Changed client to display logged in user.