add swagger dependency and user interface