simple RESTful API(user, userprofile, post)
send confirm email
generate activation code
register activation work
refactoring
username not unique
email unique
but need to alter user table