fix members_controller
remove debug code
fix posts_controller