A. To handle user authentication
B. To define URL patterns
C. To pass additional data to all templates context
D. To manage static files