Registration system for users in a database