add request info to database on all routes