base64.js polyfill cleanup
switched to currentUrl variable instead from function
login controller now correctly uses response.data.message
added json: true to step 1 of facbook auth request