Added login page, added login logic
Needs heavily refactored - use for debugging