add check if user is logged in to show the admin bar