added logout for users