added logging for every request