added build.js to .gitignore, added isAuthenticated method to apiService