Changing sessions_controller to redirect to the root_url rather than the url stored in the environment config as this works fine with the new cucumber tests and works fine with the application itself, however this has not been tested in production and there is a possibility of this causing problems with the way the DIAS website address is set up.