Fix some things in user registration
Add server and user epochs, they will be used later
Add tracking of max amount connected