Made the UI work with the Server.