Added login dialog

User login is working, but need to test session persistence.