added logout
added logout