setup a simple registration system