a little bit of design and functionallity for registration