{
setResponsePage(AdminPage.class);
}
}.setVisible(this.getClass() != AdminPage.class));
add(new SecureLink("invalidate")
{
@Override
public void onClick()
{
Session.get().invalidate(); //This logs out user and removes the rememberMe cookie
setResponsePage(Application.get().getHomePage());
}
});
add(new SecureLink("logout")
{
@Override
public void onClick()
{