Added profile page function