added following and posting functionality per lecture 8