add user func. signin,login,logout