added new_with_session method to user.rb
More changes for heroku