start of sign-in page and validation