WH-31 - Minor fixes in user controller and privilege system