Api now able to red endpoint data and echos out the data on screen  json encoded.
eg: http://localhost/Task2/app/v1/user
Result:
--------
{"1":{"id":"1","name":"Michal","phone":"506088156","street":"Michalowskiego 41"},"2":{"id":"2","name":"Marcin","phone":"502145785","street":"Opata Rybickiego 1"},"3":{"id":"3","name":"Piotr","phone":"504212369","street":"Horacego 23"},"4":{"id":"4","name":"Albert","phone":"605458547","street":"Jan Paw\u0142a 67"}}