add ajax request support for password reset