* Cleaned code
* Removed extra "/" from URL at the end
* Added a method in controllers to get data