Added getUser to email. Added two session unit tests
Refactoring login code to lookup User by email
Adding Session validation to Cli stubs