remove api.js
handle badges
dashboard