changed index
added logout handler to repo