New powers for mayors on housing plans