added basic auth controllers