A. It renders the login form
B. It handles user authentication
C. It defines URL patterns for login
D. It creates a new user in the database