Updated logout logic and request clear cache
Small controller refactor
Unused use statement should be avoided
Removed commented unusued code