added toform and ashtml for repository, solved bug with S.param (was not refreshed - changed to RequestVar)