Create updatePassword method and organize edit.html