tests for user and user authentication