login/logout function complete
Query interface complete; query function has not write;