Sign out feature added
Refactoring complete