fix path for server, send login over websocket