Refactoring Class components to functional components

I am really interested in converting class components to functional components. In ordered to contribute towards the project I have cloned the plone/volto in my local machine and started experimenting in the repository, I also have converted one file in plone/volto/src/components/theme/Logout/Logout.jsx to functional component. This is PR regarding the issue

[This is a link to the PR of the above experimentation](