got register to add user to database