fixed email regex validation in User model