fix ajax responses in memberscontroller