fixed sessions because i'm fucking retarded

fixed Hash.new
upgraded Rails 4.0.1