Update LoginController.php

$this->getRequest() is deprecated. The Request object must be sent in as a parameter and it requires the additional use statement as well.
Merge pull request #7 from tvl83/patch-1

Update LoginController.php