fixed small login bug