Modifications for altering layer_points table to replace user with user_id column.