login now detects already registered users