User space

Start to implements database users, rights, groups, login_tokens
Add pid file