server and ui