prevents users from accessing secured areas