A Little bit of refactoring on the profile page