added logout listener to context collector main activity