Updated to post and view single posts