Different content for login/logout users


I have been using two different static home page for logged in users (http://imgur.com/dBbrlf8) /logged out users (http://imgur.com/jzodOFB), but now I have came up with the problem that I have to make changes on two pages whenever there are some changes in homepage content.

So now I decided to move on to hide/show contents for logged in/logged out users by using the membership 2 pro plugin. I know there is shortcode for this but I don’t know how to apply this shortcode in my site. Please render me some idea how to achieve this goal using membership 2 pro plugin