login check not commented out anymore