Basic registration and authentication