Dashboard and single page is now working