Added login page and basic session management.