add the signin demo code
add the register demo code