added css and view logic to deal with server route. (a simple UI)