fixing sign in validation