fixed some bugs and added the ability to remove posts