modifiled med sec layout on profile page