Server

added api endpoints