1. add sign in flag.