Log in register fix