Add changes to members show page
refactor code