WaspSession secureSession = (WaspSession) getSession();
if (secureSession.isUserAuthenticated() && getLoggedInUser() != null)
{
secureSession.logoff(getLoggedInUser());
secureSession.invalidateNow();
}
MyLoginContext userContext = new MyLoginContext(username, password);
try