refactor filterPosts and add displayPosts
server set up. clicks maintained. lost individual post display
cleaned code, changed server, and fixed listener bugs