Adding postService to post a path to the backend
Calling postService in adminCtrl