Progress on working login system under the new require structure.