started working on registration class