Created editPassword, editProfile functions

Also updated the route file and the header.