Make photos/?expand=user to include the user model
Log::debug all sql queries if env=testing