added access control til actitivies