check for client id when exchanging token
LoadUserByUid
move db to correct place