In-page login process now fully working