implements the register for anonimous users