working for displaying the edit category page