forms controller lib