logout user
fixed error