def create_user(conn, name="Anon", email="sample@web.com"):
    """
    Create a new user into the users table
    :param conn: Connection object
    :param user: tuple with user info
    :return: user id
    """
    sql = ''' INSERT INTO users(user_name,user_email)
              VALUES(%s,%s) RETURNING user_id'''

    user = (name, email)
    cur = conn.cursor()
    cur.execute(sql, user)
    conn.commit()
    return cur.fetchone()