model creation and devise initialization