Fixed an issue with logged in users w/o access

Apparently PHP 5.3 prints an empty string when a function returns false.