Added login page and functionality