Improve database authorization: add check/uncheck all function to column