Sign-in input validation