make application multi-tenanted