[FEATURE] implemented errorhandling for non-unique usernames

__Tasks:__

- [x] test coverage
- [ ] gather feedback for my changes

__Informations:__

| Q             | A
| ------------- | ---
| Tests pass?   | yes
| Fixed tickets | https://github.com/massiveart/POOL-ALPIN/issues/116
| BC Breaks     | -
| Doc           | -
I would exchange these two boolean expressions, so that you don't always have to make a request to the database