Added length validation to sign in form