Small changes in front and backend to make logs work