fix bugs

logout;
add file;