import random
import string


def random_user(n):
    """generate a random user id of size n"""
    chars = []
    for i in range(n):
        chars.append(random.choice(string.ascii_lowercase))
    return ''.join(chars)