Feature/add logging of bad requests