add register and signin