Removed faulty restricted access functionality