adding profile handler