Adds email validation and updates user routes