Implemented most of ResetPassword servlet