Code Cleanup / Post Deletion

Deleting posts now works. also implemented a nice function to give
general notifications to the user