add frontend tests for pro
implement partner code redeeming
remove params permit