Fixed config errors.
Implemented registration use case.