use sha1 for token
revision is 0 by default
change schema
implement profile
next