added basic auth and logout