Removed provider class-based view in favour of function based view