Merge pull request #10 from tihuan/master

Update index.erb form action to /create_user. Add logout function in use...
fixed ajax login
adsf

Merge branch 'master' of https://github.com/fiddler-crabs-2014/Mega-Survey
Merge pull request #11 from justinphelps/master

fixed ajax auth
logout working in ajax
Merge pull request #12 from justinphelps/master

logout working in ajax
start working on calculatting results from survey
Merge pull request #13 from fiddler-crabs-2014/chore/html

start working on calculatting results from survey
Change session[:user_id] to store only user.id instead of whole user object. Fix '/save_answers/:id' redirect