Okay, database logic for registering makes sense now.