added edit/post/view functions and notifications