added user authentication and login pages