games_count = Integer.parseInt(getElementById("games_count").getTextContent());
String json="";
gotoPage("/GetLoginStatus");
json=getPageSource();
LoginStatus loginStatus=new LoginStatusJsonContainer().fromJson(json).loginStatus;
if(loginStatus==LoginStatus.LoggedIn){
gotoPage("/Logout");
final JsonContainerAdapter jsonObj = new JsonContainerAdapter().fromJson(getServerResponse());
if(jsonObj.objectName.equals("ExceptionJsonContainer")){
throw new Exception(jsonObj.message.toString());