Added exit after logout functionality..