add secret key for api access
import cleanup