Add check_access checking
Merge pull request #23 from pussbb/testing_and_fixing

Add check_access checking