Added Changepassword handler and added user id to session