Before_request loggaus