Added medals to user profile

#262
Fixed a bug and added medals to the profile page if you are in the top 3 of something on the leaderboard