switch to using StatusError from common

now we can wrap and send error model as response
cleanup commented out code