Removed some blank lines , added to send notification to server on logout