Split createUserProfileView into two

 * one that is used by the "Add user" button, it creates an empty user
   profile. The other one is used by Search for searching

 * added error popup if user searches for a non-existing name