Fixed a mistake with stripping command arguments.
First attempt on syncing database user and local storage user.