registration correctly checks for exsisting user.