removed extraneous code that was breaking the 'get dashboard by slug' functionality