updated basic auth structure