settings controller sort of working now