Patterns — authentication