added isProfEditable function to app