Modify login form to allow login using email ad the identifying attribute. Added userObject to the AuthenticatedUser object stored in the session.