A. To create a new user in the database
B. To restrict access to a view to authenticated users
C. To handle user authentication
D. To define URL patterns