defined initial api endpoints