added web api endpoints