Modifiea ACL checking in init.php files

@sandeepone special for you :)