converted author view from function based view to class based view