add more information to readme and fixing controller.php