added logout! WORKS