add scheduledworker test
removed unused method in sessions_controller.rb