More changes toward makign auth and structs work with new backend