added testing for user email uniqueness