done on adding deleting of post function. fixed some ui problems