Add edit password method, improve password reset.