Add Logout Function.