Changes to throw a login page on request to any resource