logout user on download