second part of test for UserDetailsCtrl finalised