modified spec files to include factory girl
added factory_girl_rails to gemfile
changed controller structure to handle authentication