putting error checking around password check and get user
fix error checking
updating edit user
cleaning up routes