server api: login & logout
input class compatible to query string and query key in json
object related server apis completed