added user authentication tests