NodeJS api base, oauth2 implemented