refactored AccessCodeAttribute

Created HttpAccessCodeAttribute