- adding ajax login required redirect