first part of UserDetailsCtrl TDD