minor adjust to login