Started business logic for register