session of login and register
delete cache