find_by_name_or_create was not taking in account device