fix roles bug in usercommands::register

(cherry picked from commit f75adee29a32aa7c5b2952990e40d5651f5db523)
Merge branch 'sf-master' into sf-live

Conflicts:
	src/models/commands/UserCommands.php
fix up index.php
Enable output compression
Merge branch 'live'

- Enable output compression

Conflicts:
	src/index.php