converted admin entry edit from function based view to class based view and placed two CBVs for admin entry and admin edit