redirect to login when Ajax request fails because logged out and incresed session expiration to 5 hours