Adapted frontend to changes in backend