tests for user authentication and creation with validations