working on registration process