login+register fix