Updated to use ion_auth register and login