private void getUserInformation(){
            if(userId!=null){
                try {
                    ResultSet userInfo = dataBaseConnector.getUserInformation(userId);
                    userInfo.next();
                    scores = userInfo.getInt("scores");
                    money = userInfo.getInt("money");
                    currentTank = userInfo.getInt("tank");

                    userInfo = dataBaseConnector.getUserTanks(userId);

                    while(userInfo.next()){
                        garage.addTank(
                                userInfo.getInt("id_tank"),
                                userInfo.getInt("tank"),
                                userInfo.getInt("armor"),
                                userInfo.getInt("engine"),
                                userInfo.getInt("first_weapon"),
                                userInfo.getInt("second_weapon")
                        );
                    }

                    userInfo = dataBaseConnector.getUserArmor(userId);
                    while(userInfo.next()){
                        garage.addArmor(userInfo.getInt("armor"));
                    }
                    userInfo = dataBaseConnector.getUserEngine(userId);
                    while(userInfo.next()){
                        garage.addEngine(userInfo.getInt("engine"));
                    }
                    userInfo = dataBaseConnector.getUserFirstWeapon(userId);
                    while(userInfo.next()){
                        garage.addFirstWeapon(userInfo.getInt("first_weapon"));
                    }
                    userInfo = dataBaseConnector.getUserSecondWeapon(userId);
                    while(userInfo.next()){
                        garage.addSecondWeapon(userInfo.getInt("second_weapon"));
                    }

                } catch (Exception e) {
                    e.printStackTrace();
                    close();
                }
            }
        }