Cookie deletion and logout function work in progress