add rudimentary registration system