Fix to list commands correctly for each user, and get commands correctly
 and in order