changing user model to use email as username