Added login page and basic functionality