Added so that client can send login message to server

AP-122