ajax login and forget modal changes