Fixed error appearing when trying to determine if user is an admin and they aren't logged in. Doh