Added Logout function
Logout function