Made ProfilePage work