I was wondering if there is a preferred way to structure the login flow in my full stack app. Right now my structure is as follows, with the problems that I\'m experiencing incl