Changed login/registration once again for mobile compatability