Implemented autocomplete for profile.