stores and sets the user pictures dynamically