refactored some login stuff so the survey page would show. When I post to /surveys, params is nil. Not sure why