changed index to dashboard