ID auto-generating when registering new user.
Merge pull request #5 from vasouv/maxid-registration

ID auto-generating when registering new user.