add some doc logic to REST + some front end to welcome