implementing the display profile page