Added controls and publishing to write page

Started working on a notifications system