Checked that user is logged in to fix bugs where user types in url directly in and attempts to access pages that are restriced.