added loan model, factory, tests. user_pages_spec still not passing