register new users in the database