Add sess_create to logout method

Logout was generating session errors for me. Researched and found this solution. Tested and its working for me.