customising magento 1901 and trying to add some functionalities