Profile path changed to profile function