Updated query to get ID from user table, removed foreach
Changed query to return all rows, without the first(admin)
Added GET id to links
Added comments