Added bug fix for users in users array