Updated Server and Client Code
Fixed the files again :)
Fixed headers and added exception handling in Client :)
Updated Client and Server. See details.

* Replaced hardcoded file names and line numbers.
* Commented the second send() call in the if statements in the Server code , the short circuit evalutation isn't quite working as expected.
* Client updated to check for replies before the prompt , thus checks
 after logging in.
* Server updated to send messages from the queue after client logs in.
* Some micro-changes here and there.