Working version of the backend server