Question: I've been trying to figure out how to add a new user,
but I haven't managed to figure it out so the new user will have access to only a specific database without being able to see the whole server / users / databases.
Any help will be apperciated

thank you!

Answer: 
AoT compiler is not very clever. Turns out that it can't handle default imports for some reason...

Not working:

```
import CustomHttp from './services/custom-http.service';

```

Working:

```
import { CustomHttp } from './services/custom-http.service';

```
For me, I have included duplicate export statements for some services in service's index.ts file. Finally it works after removing one.

(you can use Excel to find out duplicates. :-) )

got from this [link](https://stackoverflow.com/a/42366630/2315972)

```
.....
export * from './custom-message.service';
export * from './department.service';
export * from './custom-message.service'; // duplicated, remove this
.......

```