Added dummy login.
Cleaned up login. Added logout. Saves email.