massive clean up of login process and routes