badges now work in backend