Authentication and registration improvements