Use traits for authentication