Completed logout functionality, refactoring
Removed dependency check plug-in