Update application/controllers/login.php

Moved rules out of the constructor to the input validation function.