filled out create function for new posts, added site wide flash notices