Fixes#13. Populating user profile when using db connection