fixed another login bug