Added user id to temp table names, style fixes