added logout
added setting server