session controller changed
session controller and user.rb model changed