add mock login and requestUserDetails method