Hooked up edit password with the API