Started implementing new auth module.
Implemented new dev auth, removed old auth.