added basic authentication for angular