Back-end part of the web ui