Refactor publicProfile string to use stringByAppendingPathComponent instead of stringWithFormat.