update user route to remove local functions
fixed reset and mailgun