refactored show method (projects route file)