Play1 : Official Doc : on index page check if user is logged in , and display different messages