Logout functionality added .