public User getUser() {
        if (user == null) {
            try {
                user = restClientBean.getUserResourceService().createUser();
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
        return user;
    }