checks for authenticated access on methods