Changed the profile page in class