Fix for all routes. Pending tests but now app loads up to dashboard