updated templates to use user-post component for posts and users