Added crude user access control