Added method to get project details by name and id

Copied the implementation from the get all projects to get the calls working. We can refactor these end points later