registered users in the backend now and logic for adding them to the array