403 and 401 error handling added with http interceptor.

Need to figure out dynamically loading scripts