fixed infoMessage error in forgotPassword function