add new method for reg user; fix delete cookie then sing out