changed check_badges to post