Added user authentication and pages.