public boolean login()
    {
        if(!loaded || username.isEmpty() || password.isEmpty())
            return false;
        
        Users.addUser(this);
        logins++;
        loggedIn = true;
        save();
        System.out.println(username+" has logged in.");
        return true;
    }