added setting module to close registration