Fixed for MAMP

changed password in database.php and removed a line in
LoginController.php