move logic to sparql query
make sure profile is loaded before fetching an ID
uncomment to debug
filter current resource out from searchresults
blur on esc in inputfield