registration + auth #1281