added controller logic for phone profile