setup basic user authentication