Some code cleanup

- Start changing the db changing API calls from /api to /dashboard to make
sure they are coming from authenticated requests
- Small UI changes
- Change the way we linking js files, no need for ../../, express will link
from public directory as root