fix console messages and do database stuff for jobs join and quit