PHP MVC结构和内容

i'm new to the Laravel framework and MVC structure, my question is: 1. should there be any logic in the view section? for example on my homepage

@if(empty($data))
<h1>Hello</h1>
{{HTML::link('/login/fb','Login using Facebook')}}
@else
<h1>Hello {{$data->nameDisplay}}</h1>
Image: {{$data->profileUrlImage}}
Email: {{$data->email}}
{{HTML::link('/logout','Logout')}}
@endif

or should that all be done in the controller and just send them that view.
  1. is there a correct way to organize the views file? i have seen many tutorials on youtube that they have the master layouts inside the layouts foler, the index,profile etc in a folder called sites, the header footer in folder called partials, im just wondering if there is a correct format for organizing the structure or any good tips you can give to help me

thank you :)