added change password to auth endpoint
fixed a compile error