login, logout, read/write xml
fix conflict