Updated CSRF usage in login view. Implemented logic for login information validation.