Registering new users updates the db