Small change in restaurants view to make sure app doesn't crash when admin tries to log out