added email uniqueness to user model