clean up, added addPost view and test