fixed bug caused by not defining currentUserData; userSettings toArray

bugfix: currentUserData was not declared
user settings is now getting returned as array from current user data;

- [x] finish the code
- [ ] gather feedback for my changes

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| Tests pass?   | none
| Fixed tickets |  none
| Doc           | none

Related pull request: https://github.com/sulu-cmf/SuluAdminBundle/pull/47