sign in for clinic and patient functional