edited ServiceAppController; can't save the application in the db still