Figured out how to create users in database :D

Happens on modal close.