Refactoring

Only refactored begin and rescue by find_or_create_by