Modify apikey model; proper type
Merge pull request #15 from boaf/master

Slight model modification