add destroy tests and logout function
add destroy tests and logout function