Refine and fixes

1. Fix linebreaks issue between li elements.
2. Append widget.
3.Move DB access API to api routes