add(new Label("login",new Model("")));
add(new BookmarkablePageLink<>("logout", Logout.class));
if (session.getCheckAdmin()){
add(new MenuAdminPanel("menuPanel"));
}else {
add(new MenuReaderPanel("menuPanel"));
}
}else {
add(new Label("user",""));
add(new BookmarkablePageLink<>("login", Login.class));
add(new Label("logout",new Model("")));