Added user authentication

Add basic user authentication