added comments, removed redundant code, stopped overflow of user names in user list