logout user fix