Simple token system.

Will change to use mongodb and uuids later