implemented change password functionality