Modify my_badges controller to return or echo results