Fixed user login validation and made factory generate it
Normalised the require "spec_helper" call