add login api and get_last_queries api
Merge pull request #1 from JessieSalas/vincent/additional_api

add login api and get_last_queries api