Fixed the password and email routes