Ajax Submit Forgot Password Form Loaded in Front Page
module_load_include() works slightly differently from your example. The first argument is the file extension, the second is the module name, and the third is the file name minus the extension.

This should work:

module_load_include('inc', 'user', 'user.pages');