Updated isLogged in method to test using the HEAD Method to consume less bandwidth