more work on the login page so that we save our session info