prepare home page of dashboard