implement the access code api functionality
Merge pull request #6 from ProctorCam/feature/access_code_api

implement the access code api functionality