debugger to gemfile and moved sessions to application controller