UserPanel: is rendered when headers are not sent or session is active
composer.json: added replace block to improve forward compatibility
Merge pull request #1517 from xificurk/composer-replace

Composer.json: improve forward compatiblity