refactored liveurl to use async, cleaned up express routes