added tests for email and name, added index for unique email and name