Fixed a bug

NullPointerException if an user is added to a non-existing team, without error message.