Make sure the endpoint /gs/updatelayers pass a username
Merge pull request #1236 from vdeparday/master

Make sure the endpoint /gs/updatelayers pass a user object