feat(cookie):login and register set secure cookie