locking tabs for users who are not logged in