Adding resolve to parent states for client-side authentication