support async authentication with callback
add authentication result as the parameter of the method call
ignore c9 ide files
reformat server.js to match with editorconfig