added endpoint for ui testing in dev; fixed views