Posts working
DB minor fixes
Authtoken generation minor fixes