@users.route('/profile')
@users.route('/user')
@authed_only
def private():
    infos = get_infos()
    errors = get_errors()
    user = get_current_user()
    badges = get_user_badges(session['id'])
    return render_template('users/private.html', user=user, account=user.account, badges=badges, Tags=Tags, infos=infos, errors=errors)
@users.route('/profile')
@users.route('/user')
@authed_only
def private():
    infos = get_infos()
    errors = get_errors()
    user = get_current_user()
    badges = get_user_badges(session['id'])
    return render_template('users/private.html', user=user, account=user.account, badges=badges, Tags=Tags, infos=infos, errors=errors)