Issue #1: registration, mail notification with registration code, authentication