Show user badges in user profile. Fixes #381.