Added user factory, added password confimation model test to user_spec.