We need to display the user posts on his page.
In User.php added relation
public function post(){
return $this->hasMany('App\\post');
}
The output on the page using @foreach($posts as $post)
{{ $post->content }}
Now displays all posts from all users.