delete sesion function, fix log debug