Fixed addMember, but this version isn't working since headerUtils.redirect() seems to be off....
merge conflicts
Fixed the last_insert_id problem