Функция registerForgotPassword() не определена!