Fixed error if user doesn't have a saved cookie

If a user comes onto the site without a cookie and manager status the
website gave an error for "has_role?" due to permissions. I changed the
if structure to fix it.