convert params[:id] to int for membership api
use :nickname in :membership in membership api
Merge branch 'master' into test-interface