return ok(index.render(user, SecureSocial.<DemoUser>env()));
}
@UserAwareAction
public Result userAware() {
DemoUser demoUser = (DemoUser) ctx().args.get(SecureSocial.USER_KEY);
String userName ;
if ( demoUser != null ) {
BasicProfile user = demoUser.main;
if ( user.firstName().isDefined() ) {
userName = user.firstName().get();