Added windows close on logout