updated to handle possible whitespace prior to callback for jsonp
added warning when token is not received for authentication
added current user method to authentication provider