updated user model to include email, updated view