adds partial and logic for posts on dashboard