add view helpers for isAuth and isAdmin