Fix indexes for all queries
Fix issues in profile list
Add delete profile in service
Fix a wired issue which controller will be intialize twice.