created route for subscription/view
defined view function for subscription controller
get json of subscription view of a particular user