Modified client login logic
Modified Application_EndRequest event handler in Global.asax file