cleaned up dashboard page file