public IsLoguedResult execute(IsLoguedAction action, ExecutionContext context)
throws ActionException {
UserService userService = UserServiceFactory.getUserService();
User user = userService.getCurrentUser();
if(user!=null){
return new IsLoguedResult(user.getEmail());
}else{
return new IsLoguedResult(null);
}
}