Added login page and authentication.