update login/logout api_uri_list, add principles

Reference: https://developer.github.com/v3/
Change get api url list, login and logout.
Add 2 principles for designing api