title: Detect first log of user
body: <p>I'm realizing a theme with liferay using velocity. I would like to add some functions to the theme homepage only in the case the user logs in the portal for the first time. 
  How can I use velocity (portal_normal.vm) to achieve that?</p>