added basic authentication with passport