Fixed NullPointerexception on runtime, although with dirty trick, and Alice now registers successfully with server