def get_user_type(code):
    """Get user type from code."""
    user_type = {1: "User", 2: "Admin", 3: "Super admin"}

    if code in user_type:
        return user_type[code] + " (" + str(code) + ")"

    return "Unknown ({})".format(str(code))