helper for checking authentication status, add simple views