cleaned up some client api endpoints