Added factories.rb with one user
added test for the user view page