now the check if the loginname already exists works