backend code for memberdkp moved to points controller