@Override
    public void actionPerformed(ActionEvent e) {
        if (Start.getUserLogStatus()) {
            statusLbl.setText("You have logged in as " + user.getName());
        }
        if (user.getName() != null && user.getName().length() > 0 && !Start.getUserLogStatus()) {
            Utils.changeUserLastLogDate(user);
            Start.setUserLoggedIn();
            openMainMenuFrame();
            return;
        }
        if (user.getName()  != null && user.getName().length() > 0 && Start.getUserLogStatus()) {
            Utils.changeUserLastLogDate(user);
            openMainMenuFrame();
            return;
        }
        else {
            statusLbl.setText("First of all, select user name and then log-in");
        }
        System.out.println(user.getName());
    }