Make the state generation extendable
Make redirect login help extendable