Defensive programming since being logged in is no longer a requirement