finished login flow, fixed require js circular dependency by using location.reload instead of linking to view