Added user factory, changed some of the specs to use factories.