adapted modifyProfile
Merge branch 'master' of https://github.com/ese-unibe-ch/ese2014-team4
some more fixes for modifing profile
again
solved merge conflicts