set up basic functionality to work on the server side