return correct http status code
roll back session route change for now.