changes the layout for the list of user