fixed dependency issue and user-registration namespace