added basic user authentication system