fixed user sessions

certain views show when a user is logged in or not