session and user erb files debugged