remove unused env class, change expire from GET to POST